package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.TableSelfServiceBillingRules;

/**
 * 桌台自助计费规则Mapper接口
 *
 * @author ruoyi
 * @date 2025-05-09
 */
public interface TableSelfServiceBillingRulesMapper
{
    /**
     * 通过id查询桌台自助计费规则
     *
     * @param id 桌台自助计费规则主键
     * @return 桌台自助计费规则
     */
    public TableSelfServiceBillingRules selectTableSelfServiceBillingRulesById(Long id);

    /**
     * 查询桌台自助计费规则列表
     *
     * @param tableSelfServiceBillingRules 桌台自助计费规则
     * @return 桌台自助计费规则集合
     */
    public List<TableSelfServiceBillingRules> selectTableSelfServiceBillingRulesList(TableSelfServiceBillingRules tableSelfServiceBillingRules);

    /**
     * 新增桌台自助计费规则
     *
     * @param tableSelfServiceBillingRules 桌台自助计费规则
     * @return 结果
     */
    public int insertTableSelfServiceBillingRules(TableSelfServiceBillingRules tableSelfServiceBillingRules);

    /**
     * 修改桌台自助计费规则
     *
     * @param tableSelfServiceBillingRules 桌台自助计费规则
     * @return 结果
     */
    public int updateTableSelfServiceBillingRules(TableSelfServiceBillingRules tableSelfServiceBillingRules);

    /**
     * 通过id删除桌台自助计费规则信息
     *
     * @param id 桌台自助计费规则主键
     * @return 结果
     */
    public int deleteTableSelfServiceBillingRulesById(Long id);

    /**
     * 通过id批量删除桌台自助计费规则信息
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTableSelfServiceBillingRulesByIds(Long[] ids);
}
